﻿@model Keepo.Models.Services.AlbumPageExport
@using (Html.BeginForm("AddPremadePage", "PremadePages", FormMethod.Post, new { id = "frmAddPremadePage" }))
{
    @Html.HiddenFor(m => m.ThumbnailUrl)
    <div class="fieldRow">
        <div class="label">
            כותרת</div>
        <div class="value">
            @Html.TextBoxFor(m => m.Title)
            @Html.ValidationMessageFor(m => m.Title)
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            קטגוריה</div>
        <div class="value">
            @Html.DropDownListFor(m => m.CategoryId, (ViewBag.CategoryId as SelectList))
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            גודל עמוד</div>
        <div class="value">
            @Html.DropDownListFor(m => m.AlbumSizeId, ViewBag.AlbumSizesList as SelectList)
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            האם עמוד בודד?</div>
        <div class="value">
            @Html.CheckBoxFor(m => m.IsSingle)
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
        </div>
        <div class="value">
            <input type="submit" value="הוסף עמוד ועבור לעיצוב" class="button" />
        </div>
    </div>
}